#pragma once
#include "chocolates.h"
class DarkChocolates :
	public Chocolates
{
public:
	DarkChocolates(void){procent = 0;}
	DarkChocolates(string name, double price, int number, double customerPrice, string type, int procent):
		Chocolates(name, price, number, customerPrice, type) {this->procent = procent;}
	~DarkChocolates(void);
	void SetProcent(int &procent){this->procent = procent;}
	int GetProcent(){return procent;}
	void Write()
	{
		cout << "DarkChocolates: ";
		cout << name << ", " << price << ", " << number << ", " << customerPrice << ", " << type <<
			", " << procent << endl;
	}
protected:
	int procent;
};

